package com.bk.ouat.common;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Repository;

@Repository
public class CommonProperties {
	
	
	private String code="code";
	private String codeMsg="msg";
	
	@Value("#{codeProp['notFountCode']}") 
	private String notFountCode;
	
	@Value("#{codeProp['requestErrorCode']}") 
	private String requestErrorCode;
	
	@Value("#{codeProp['okCode']}") 
	private String okCode;
	private final String okCodeMsg="ok";
	

	public String getNotFountCode() {
		return notFountCode;
	}

	public void setNotFountCode(String notFountCode) {
		this.notFountCode = notFountCode;
	}

	public String getRequestErrorCode() {
		return requestErrorCode;
	}

	public void setRequestErrorCode(String requestErrorCode) {
		this.requestErrorCode = requestErrorCode;
	}

	public String getOkCode() {
		return okCode;
	}

	public void setOkCode(String okCode) {
		this.okCode = okCode;
	}

	public String getOkCodeMsg() {
		return okCodeMsg;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getCodeMsg() {
		return codeMsg;
	}

	public void setCodeMsg(String codeMsg) {
		this.codeMsg = codeMsg;
	}

	
}
